import 'package:flutter_demo2/ui/clip_test/inverted_clipper_page.dart';
import 'package:flutter_demo2/ui/list_remove_item_anime/list_remove_item_test_page.dart';
import 'package:flutter_demo2/ui/swiper_banner/swiper_test.dart';
import 'package:flutter_demo2/ui/visible_detector/test_visibility_detector_page.dart';
import 'package:route/route.dart';
import 'package:flutter_demo2/ui/nested_scroll/nested_scroll_test_page.dart';
import 'package:flutter_demo2/ui/ui_page.dart';

import '../pages.dart';
import 'bottom_sheet/test_bottom_sheet_page.dart';

List<RouteBuilder> pages = [
  RouteBuilder(FlutterPages.testUIPage, (Map<String, dynamic>? args) {
    return const UIPage();
  }),
  RouteBuilder(FlutterPages.testNestedScrollPage, (Map<String, dynamic>? args) {
    return const NestedScrollTestPage();
  }),
  RouteBuilder(FlutterPages.testRemoveListItemPage, (Map<String, dynamic>? args) {
    return const ListRemoveItemTestPage();
  }),
  RouteBuilder(FlutterPages.testRemoveListItemPage, (Map<String, dynamic>? args) {
    return const ListRemoveItemTestPage();
  }),
  RouteBuilder(FlutterPages.testVisibilityDetector, (Map<String, dynamic>? args) {
    return const TestVisibilityDetectorPage();
  }),
  RouteBuilder(FlutterPages.testBottomSheet, (Map<String, dynamic>? args) {
    return const TestBottomSheetPage();
  }),
  RouteBuilder(FlutterPages.testSwiperPage, (Map<String, dynamic>? args) {
    return const SwiperBannerTestPage();
  }),
  RouteBuilder(FlutterPages.testInvertedClipper, (Map<String, dynamic>? args) {
    return const InvertedClipperPage();
  }),
];
